<head>
<title>Bridge Tool</title>
<jsp:include page="/common/initPage.jsp" />
<style>

div.mfaView
{
   behavior: url(bridgetool/htc/mfa-mch-view.htc);

   width:800px; 
   margin:10px;

   font-family:Verdana;
   font-size:8pt;
   font-weight:normal;
   color:midnightblue;
}

div.mfaViewTool
{
   behavior: url(bridgetool/htc/mfa-mch-view.htc);

   width:800px; 
   margin:10px;

   border:1px solid steelblue; 
   background:#E4E4E4;

   font-family:Verdana;
   font-size:8pt;
   font-weight:normal;
   color:midnightblue;
}

div.mfaBody
{
   behavior: url(bridgetool/htc/mfa-mch-view-body.htc);

   margin:0px;
   padding:0px;   
}

table.mfaBody
{
   background:LightSteelBlue;
   margin:3px;

   border:1px solid steelblue; 
}

td.mfaBody
{
   padding:2px;
   background:ivory;   
}

td.mfaBody_HI
{
   padding:2px;
   background:khaki; 
}

span.mfaBody
{
   font-family:Verdana;
   font-size:8pt;
   font-weight:bold;
   color:midnightblue;
}

span.mfaBody_BRT
{
   font-family:Verdana;
   font-size:8pt;
   font-weight:bold;
   color:crimson;
}

span.mfaBody_DRK
{
   font-family:Verdana;
   font-size:8pt;
   font-weight:bold;
   color:LightSlateGray;
}

input.mfaBody
{
   font-family:Verdana;
   font-size:8pt;
   font-weight:bold;
   color:midnightblue;
   background:transparent;
   border:0px;
   border-bottom:1px solid midnightblue;
   padding:0px;
}

input.mfaBody_BRT
{
   font-family:Verdana;
   font-size:8pt;
   font-weight:bold;
   color:midnightblue;
   background:yellow;
   border:0px;
   border-bottom:1px solid midnightblue;
   padding:0px;
}

input.mfaBody_DRK
{
   font-family:Verdana;
   font-size:8pt;
   font-weight:bold;
   color:LightSlateGray;
   background:transparent;
   border:0px;
   border-bottom:1px solid LightSlateGray;
   padding:0px;
}

div.mfaError
{
   display:none;
   padding:10px;
   background:lightyellow;
   border-top:1px solid steelblue; 
   color:crimson;
   font-weight:bold;
   text-align:center;   
}

div.mfaToolbar
{
   behavior: url(bridgetool/htc/mfa-mch-view-toolbar.htc);
   width:100%;
}

table.mfaToolbar
{
   display:inline;
   margin:4px;
}

button.mfaToolbar
{
   font-family:Verdana;
   font-size:7.5pt;
   font-weight:bold;
   color:midnightblue;
   background:wheat;
   border:1px solid tan;
}

div.mfaFieldInfo
{
   behavior: url(bridgetool/htc/mfa-mch-view-fieldinfo.htc);
   
   display:none;
   margin:3px;
   padding:5px;
   border:1px solid steelblue; 
   background:whitesmoke;
   text-align:left;
}

div.mfaConsole
{
   behavior: url(bridgetool/htc/mfa-mch-view-console.htc);

   height:300px;
   display:none;
   margin:3px;
   padding:5px;
   border:1px solid steelblue; 
   background:lightyellow;
   overflow:auto;
   text-align:left;
}

span.mfaConsole
{
   font-family:Courier New;
   font-size:9pt;
   font-weight:normal;
   color:midnightblue;
}

span.mfaText
{
   font-family:Verdana;
   font-size:7.5pt;
   font-weight:normal;
   color:midnightblue;
}

input.mfaText
{
   font-family:Verdana;
   font-size:7.5pt;
   font-weight:normal;
   color:midnightblue;
   background:transparent;
}

select.mfaText
{
   font-family:Verdana;
   font-size:7.5pt;
   font-weight:normal;
   color:midnightblue;
   background:transparent;
}


button.mfaButton
{
}

</style>
</head>
<!--

   mode = tool|live
   func = <mch_function>
   lang = <standard lang code>
-->
<%
            String mfaMode = request.getParameter("mode");
            String trans = request.getParameter("trans");

            if (mfaMode == null)
                mfaMode = "live";
%>
<div id=divView
	class=<%= mfaMode.equals("tool") ? "mfaViewTool" : "mfaView" %>
	mode=<%= mfaMode %>
	func=<%= request.getParameter("next_function") == null ? "RGTC" : request.getParameter("next_function") %>
	lang=<%= request.getLocale() %> trans=<%= trans %>>
<%
            if (mfaMode.equals("tool"))
            {
%>
<div id=divToolbar class=mfaToolbar>
<div id="__mfaToolbar__"></div>
</div>
<div id=divBody class=mfaBody></div>
<div id=divError class=mfaError></div>
<div id=divFieldInfo class=mfaFieldInfo>
<table border=0 cellpadding=0 cellspacing=2>
	<tr>
		<td nowrap><span class=mfaText>FIELD
		INFO:&nbsp;&nbsp;&nbsp;</span></td>
		<td nowrap align=center>
		<table border=0 cellpadding=1 cellspacing=0 class=mfaToolbar>
			<tr>
				<td nowrap align=right><span class=mfaText>NAME:</span></td>
				<td nowrap><input class=mfaText id=txtFieldInfo_name size=8></td>
			</tr>
		</table>
		<table border=0 cellpadding=1 cellspacing=0 class=mfaToolbar>
			<tr>
				<td nowrap align=right><span class=mfaText>ROW:</span></td>
				<td nowrap><input class=mfaText id=txtFieldInfo_row size=2></td>
			</tr>
		</table>
		<table border=0 cellpadding=1 cellspacing=0 class=mfaToolbar>
			<tr>
				<td nowrap align=right><span class=mfaText>COL:</span></td>
				<td nowrap><input class=mfaText id=txtFieldInfo_column size=2></td>
			</tr>
		</table>
		<table border=0 cellpadding=1 cellspacing=0 class=mfaToolbar>
			<tr>
				<td nowrap align=right><span class=mfaText>LEN:</span></td>
				<td nowrap><input class=mfaText id=txtFieldInfo_length size=2></td>
			</tr>
		</table>
		</td>
	</tr>
	<tr>
		<td valign=bottom align=center rowspan=3>
		<button id=btnFieldInfo_reset class=mfaToolbar>RESET</button>
		</td>
		<td nowrap align=center>
		<table border=0 cellpadding=1 cellspacing=0 class=mfaToolbar>
			<tr>
				<td nowrap align=right><span class=mfaText>ATTR:</span></td>
				<td nowrap><input class=mfaText id=txtFieldInfo_attr size=42
					readonly></td>
			</tr>
		</table>
		<table border=0 cellpadding=1 cellspacing=0 class=mfaToolbar>
			<tr>
				<td nowrap align=right><span class=mfaText>RUNTIME ATTR:</span></td>
				<td nowrap><input class=mfaText id=txtFieldInfo_runtimeattr
					size=42 readonly></td>
			</tr>
		</table>
		</td>
	</tr>
	<tr>
		<td nowrap align=center>
		<table border=0 cellpadding=1 cellspacing=0 class=mfaToolbar>
			<tr>
				<td nowrap><span class=mfaText>DEF:</span></td>
				<td nowrap colspan=9><input class=mfaText
					id=txtFieldInfo_default size=100 readonly></td>
			</tr>
		</table>
		</td>
	</tr>
	<tr>
		<td nowrap align=center>
		<table border=0 cellpadding=1 cellspacing=0 class=mfaToolbar>
			<tr>
				<td nowrap><span class=mfaText>SRC:</span></td>
				<td nowrap colspan=2><select id=optFieldInfo_source
					class=mfaText style="width:80px;">
				</select></td>
			</tr>
		</table>
		<table border=0 cellpadding=1 cellspacing=0 class=mfaToolbar>
			<tr>
				<td nowrap colspan=2 align=right><span class=mfaText>START:</span></td>
				<td nowrap><input class=mfaText id=txtFieldInfo_start size=2></td>
			</tr>
		</table>
		<table border=0 cellpadding=1 cellspacing=0 class=mfaToolbar>
			<tr>
				<td nowrap align=right><span class=mfaText>END:</span></td>
				<td nowrap><input class=mfaText id=txtFieldInfo_end size=2></td>
		</table>
		<!--
                  <table border=0 cellpadding=1 cellspacing=0 class=mfaToolbar>
                     <tr>
                        <td nowrap><span class=mfaText>STYLE:</span></td>
                        <td nowrap colspan=2>
                           <select id=optFieldInfo_style class=mfaText style="width:80px;">
                              <option value=></option>
                              <option value=mfaBody>NORMAL</option>
                              <option value=mfaBody_TITLE>TITLE</option>
                              <option value=mfaBody_HEAD>HEADING</option>
                              <option value=mfaBody_EVEN_ROW>EVEN ROW</option>
                              <option value=mfaBody_ODD_ROW>ODD ROW</option>
                           </select>                  
                        </td>                         
                     </tr>
                  </table>
                  -->
		<table border=0 cellpadding=1 cellspacing=0 class=mfaToolbar>
			<tr>
				<td nowrap><span class=mfaText>ALIGN:</span></td>
				<td nowrap colspan=2><select id=optFieldInfo_align
					class=mfaText style="width:80px;">
					<option value=></option>
					<option value=left>LEFT</option>
					<option value=center>CENTER</option>
					<option value=right>RIGHT</option>
				</select></td>
			</tr>
		</table>
		</td>
	</tr>
</table>
</div>
<div id=divConsole class=mfaConsole></div>
<%
            }
            else
            {
%>
<div id=divBody class=mfaBody></div>
<div id=divError class=mfaError></div>
<%
}
%>
</div>

<xml id=xmlData></xml>
<xml id=xmlMap></xml>
<xml id=xmlCustomMap></xml>

